package week_03.recurcion_findArr;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Scanner;
@SuppressWarnings("all")
public class recurcion_findArr {
    public static void main(String[] args) {
        int[] a = new int[6];
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入要查找的数字:");
        int x = scanner.nextInt();
        System.out.println("请输入开始的序列号");
        int y = scanner.nextInt();
        System.out.println("请输入结束的序列号");
        int z = scanner.nextInt();
        a[0] = 5;
        a[1] = 6;
        a[2] = 7;
        a[3] = 8;
        a[4] = 9;
        a[5] = 10;
        System.out.println(Arrays.toString(a));
        find find = new find();
        System.out.println(find.find(a, y, z, x));

    }

}
